import request from '@/utils/request'

// 查询科目校验列表
export function listPcwSubjectValidation(query) {
  return request({
    url: '/validation/pcwSubjectValidation/list',
    method: 'get',
    params: query
  })
}

// 查询科目校验详细
export function getPcwSubjectValidation(id) {
  return request({
    url: '/validation/pcwSubjectValidation/' + id,
    method: 'get'
  })
}

// 保存科目校验
export function savePcwSubjectValidation(data) {
  return request({
    url: '/validation/pcwSubjectValidation/save',
    method: 'post',
    data: data
  })
}

// 删除科目校验
export function delPcwSubjectValidation(id) {
  return request({
    url: '/validation/pcwSubjectValidation/' + id,
    method: 'delete'
  })
}

// 导出科目校验
export function exportPcwSubjectValidation(query) {
  return request({
    url: '/validation/pcwSubjectValidation/export',
    method: 'get',
    params: query
  })
}
